/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-14 10:33:42
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-16 16:06:23
 */
import React from 'react'
import ReactDOM from 'react-dom/client'
import './index.scss'
import App from './App'
// 1 在 index.js 中导入 antd 的样式文件
// import 'antd/dist/antd.css'
import store from './store'
import { ConfigProvider } from 'antd'
import { Provider } from 'react-redux'
import locale from 'antd/lib/locale/zh_CN'
import 'moment/locale/zh-cn'
const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
  <Provider store={store}>
    <ConfigProvider locale={locale}>
      <App />
    </ConfigProvider>
  </Provider>
)
